\input smalltalkToTexMacro.tex

\ifcase\demoB\or \standardOneColumnFormat

\ifcase\demo\or %1 \or %2 \or %3 \useOneColumnFooterB \or %4 \useOneColumnFooterB \useEightPointFonts \useLeftThirdTitles \or %5 \or %6 \useOneColumnFooter \or %7 \useOneColumnFooter \or %8 \or %9 \fi

\or \special{landscape % for dvips if you use it

\standardTwoColumnFormat % \setColumnWidth{4.5in % Set the dimension for landscape \setGutterSize{0.3in \setHeight{6.7in \setOffset{-0.25in{-0.25in %may not be right for your TeX print %program

\ifcase\demo\or %1 \or %2 \or %3 \useTwoColumnFooterB \or %4 \useTwoColumnFooterB \useCenteredTitles \or %5 \or %6 \useTwoColumnFooter \or %7 \useTwoColumnFooter \or %8 \or %9 \fi \fi

%%%%%%%%% Independent of the column formatting %%%%%%%%%%%%

\ifcase\demo\or % 1 \useSimpleFooter \useProcessingWithNoClasses

\dontFormatMethods \or % 2 \useSimpleFooterB \or % 3 \findClasses \class{Boiler{Components % FindClasses wont find % the first class in the file \or % 4 \findClasses \startClassDef{Boiler{Components \setClassSection{Diagram% \setCategory{Testing% \endClassDef \hbox to \hsize{\hss\vbox to 2in{\vss\hss% \startClassSection{Definition \or % 5 \findClasses \class{Boiler{Components % \useAlternateDoneMethodA

\linenumberstrue %the next definition is to reset line numbers at the start %of each class (as opposed to numbering the whole output %sequetially \def\classDefined{% \lineno=1% – the added line \edef\temp{\printClass% \expandafter\printTitle\expandafter{\temp

\headline={\hfil \footline={\footFont{\hbox to 0pt{\printTime\hss\hfil% \pageClass\ \pageLastSectionAndSubsection\hfil% \hbox to 0pt{\hss Page\ \folio\hss

\or % 6 \or % 7 \useMonospacedComments \or % 8 \useProcessingWithNoClasses

\headline={\hfil \footline={\footFont{\hbox to 0pt{\printTime\hss% \hfil% \hbox to 0pt{\hss% \pageFirstClass\ \pageFirstSectionAndSubsection% \ $\Rightarrow$\ \hbox to 0pt{% \pageClass\ \pageLastSectionAndSubsection\hss% \hfil% \hbox to 0pt{\hss Page\ \folio\hss

\or % 9 \linenumberstrue \useProcessingWithNoClasses

\headline={\footFont{\hbox to 0pt{\printTime\hss\hfil% \pageFirstClass\ \pageFirstSectionAndSubsection\hfil% \hbox to 0pt{\hss Page\ \folio

\footline={\footFont{\hbox to 0pt{\printTime\hss\hfil% \pageClass\ \pageLastSectionAndSubsection\hfil% \hbox to 0pt{\hss Page\ \folio\hss

\fi

%%%%%%% Now let’s read the file

\def\diagram#1{% for the \diagram command in exampleCommand.st \vfil \beginNormalSpecials% NECCESARY TO ALLOW READING OF EXTERNAL FILE \vbox { \startClassSection{Diagram \medskip \epsfxsize=\hsize \line{\hss\epsfbox{BoilerDiagram.eps\hss% \vfil\eject \endNormalSpecials

\setBangMode \expandafter\startAndRead\expandafter{\the\demofile

\end


This document was generated on March 29, 2022 using texi2html 5.0.